#ifndef __GAME_AUTORELEASE_H__
#define __GAME_AUTORELEASE_H__

#include "game_def.h"
#include <vector>

class CGameAutorelease{
private:
  std::vector<CGameRef*> _vec;
public:
  void addObject(CGameRef* ref);
  void release();
  BOOL contains(CGameRef* ref) const;
  void dump();
};

extern CGameAutorelease g_CGameAutorelease;

#endif
